#ifndef MESSAGEITEM_H
#define MESSAGEITEM_H

#include <QWidget>
#include <QLabel>
#include <QHBoxLayout>
#include "entity/message.h"

class MessageItem : public QWidget
{
    Q_OBJECT
public:
    explicit MessageItem(const Message &message, QWidget *parent = nullptr);
    ~MessageItem();

private:
    QLabel *m_messageLabel;
    QHBoxLayout *layout;

signals:
};

#endif // MESSAGEITEM_H
